import QtQuick 2.12
import QtQuick.Window 2.12

//
Rectangle {
    id: id_root
    property string title: ""
    signal sigUrl(string u)

    function keyEvent(k){}

    Component.onCompleted: {
        menuObject.sigKey.connect(id_root.keyEvent)
        menuObject.slotShow(title)
    }

    Component.onDestruction: {
        menuObject.sigKey.disconnect(id_root.keyEvent)
    }
}
